package cn.sskxyz.mongodb.multi;

public class MongoLinkContext {
	private String link;
	private String database;

	public MongoLinkContext(String link, String database) {
		this.link = link == null || link.trim().isEmpty() ? null : link;
		this.database = database == null || database.trim().isEmpty() ? null : database;
	}

	public String getLink() {
		return link;
	}

	public String getDatabase() {
		return database;
	}

}
